@import 'src/app/common/styles/variable/index.scss';
@import 'src/app/common/styles/mixin/index.scss';
.container {
  min-height: calc(100vh - #{$tabbarHeight});
  background: #fff;
}
.searchbar {
  display: flex;
  height: 0.48rem;
  background: #fff;
  .left,
  .middle,
  .right {
    display: flex;
    align-items: center;
  }
  .left {
    padding-left: $pagePadding;
    padding-right: 0.12rem;
    .icon {
      margin-left: 0.04rem;
      font-size: 0.1rem;
      color: $primary;
    }
  }
  .middle {
    flex: 1;
    margin-top: 0.06rem;
    margin-right: $pagePadding;
    height: 0.36rem;
    background: #f9f9f9;
    border-radius: 1rem;
    .icon {
      margin: 0 0.1rem 0 0.16rem;
      font-size: 0.15rem;
      color: $font4;
    }
    .txt {
      height: 0.13rem;
      line-height: 0.15rem;
      color: $font4;
    }
  }
  .right {
    padding-left: 0.12rem;
    padding-right: $pagePadding;
    color: $primary;
    .icon {
      margin-right: 0.04rem;
    }
  }
}
.fill {
  height: 0.48rem;
}
.iconbar {
  display: flex;
  justify-content: space-around;
  margin-top: 0.1rem;
  padding: 0 $pagePadding;
  .item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: $font1;
    .img-icon {
      @include radius(0.64rem);
    }
    .name {
      margin-top: 0.04rem;
    }
  }
}
.slider {
  margin-top: 0.24rem;
  padding: 0 $pagePadding;
  .item {
    width: 100%;
    height: 2.5rem;
    img {
      display: block;
      width: 100%;
      height: 100%;
      border-radius: 0.04rem;
    }
  }
}
.block {
  margin-top: 0.4rem;
  padding-left: $pagePadding;
  padding-right: $pagePadding;
  .pubtitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.12rem;
    .left {
      font-size: 0.2rem;
    }
    .right {
      color: $font4;
      font-size: 0.12rem;
      .icon {
        margin-left: 0.04rem;
        font-size: 0.12rem;
      }
    }
  }
}
.quotation {
  .list {
    display: flex;
    .item {
      position: relative;
      flex: 1;
      img {
        width: 1.66rem;
        height: 0.96rem;
      }
      .mask {
        position: absolute;
        top: 0;
        left: 0;
        margin: 0.24rem 0 0 0.16rem;
        .name {
          margin-bottom: 0.08rem;
        }
        .numberbox {
          .number {
            margin-right: 0.04rem;
            font-size: 0.24rem;
          }
        }
      }
    }
    .average {
      margin-right: 0.12rem;
      .name {
        color: #ce8b7d;
      }
    }
    .deal {
      .name {
        color: #928ec0;
      }
    }
  }
}
.activity {
  .content {
    height: 1.7rem;
    overflow: hidden;
  }
  .list {
    display: flex;
    padding-bottom: 0.2rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    .item {
      margin-right: 0.12rem;
      width: 1.9rem;
      .img-act {
        display: block;
        width: 100%;
        height: 1.2rem;
        border-radius: 0.02rem;
      }
      .title {
        margin: 0.12rem 0 0.04rem;
        font-size: 0.15rem;
        @include ellipsis(1.9rem);
      }
      .desc {
        font-size: 0.12rem;
        color: $font3;
        @include ellipsis(1.9rem);
      }
    }
  }
}
.estate {
  margin-bottom: 0;
  padding-right: 0;
  .list {
    padding-bottom: 0.01rem;
    .item {
      margin-bottom: 0.32rem;
      &:last-child {
        margin-bottom: 0;
      }
    }
  }
}
.error,
.loading {
  position: relative;
  height: calc(100vh - #{$tabbarHeight});
  background: #fff;
}
.popup {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-top: -2.11rem;
  margin-left: -1.4rem;
  .content {
    img {
      display: block;
      width: 2.8rem;
      height: 3.5rem;
      border-radius: 0.04rem;
    }
  }
  .footer {
    .line {
      margin: 0 auto;
      height: 0.48rem;
      width: 2px;
      background: #fff;
    }
    .icon-close {
      margin: 0 auto;
      @include radius(0.24rem);
      background: #fff;
      color: $primary;
    }
  }
}
